find even and odd in arrays